import * as publics from './action-type';

export const setRouterName = (routename, routehistory) => {
    return   ({
        type: publics.ROUTERSTORE,
        routename,
        routehistory
    })
}

export const setTopNav = ( topnav ) => {
    return   ({
        type: publics.TOPNAV,
        topnav
    })
}